package cn.net.yato.picture.biz.impl;

import cn.net.yato.picture.biz.PermissionBiz;
import cn.net.yato.picture.entity.Permission;
import cn.net.yato.picture.mapper.PermissionMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @ClassName PermissionBizImpl
 * @Description TODO
 * @Author yato
 * @Date 2020/2/19 13:02
 * @Version 1.0
 */
@Service
public class PermissionBizImpl implements PermissionBiz {

    @Resource
    private PermissionMapper permissionMapper;

    @Override
    public List<Permission> getAllPermissionsBiz() {
        return permissionMapper.getAllPermissions();
    }
}
